home *** CD-ROM | disk | FTP | other *** search
/ WH Questions 1 / WebberInteractiveWHQ&ALevel1.iso / Xtras / PrintOMatic Lite MX (Win32) / -PrintOMatic Lite MX Demo.dir / 00013_Script_main screen frame script < prev    next >
Text File  |  2004-04-06  |  1KB  |  19 lines

  1. on exitFrame
  2.   global gPreview
  3.   if the controlDown then
  4.     set the text of cast "notes" = ("Preview" && word 2 to (the number of words in the text of cast "notes") of the text of cast "notes")
  5.     set the text of cast "info sheet" = ("Preview" && word 2 to (the number of words in the text of cast "info sheet") of the text of cast "info sheet")
  6.     set the text of cast "docs" = ("Preview" && word 2 to (the number of words in the text of cast "docs") of the text of cast "docs")
  7.     set the text of cast "order form" = ("Preview" && word 2 to (the number of words in the text of cast "order form") of the text of cast "order form")
  8.     put true into gPreview
  9.   else
  10.      set the text of cast "notes" = ("Print" && word 2 to (the number of words in the text of cast "notes") of the text of cast "notes")
  11.    set the text of cast "info sheet" = ("Print" && word 2 to (the number of words in the text of cast "info sheet") of the text of cast "info sheet")
  12.     set the text of cast "docs" = ("Print" && word 2 to (the number of words in the text of cast "docs") of the text of cast "docs")
  13.     set the text of cast "order form" = ("Print" && word 2 to (the number of words in the text of cast "order form") of the text of cast "order form")
  14.     put false into gPreview
  15.   end if
  16.   
  17.   go to frame (the frame)
  18. end
  19.